//
//  OnlineUserLogic.h
//  UniversalApp
//
//  Created by 志刚杨 on 2018/7/26.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,HomePageListType)
{
    //关注
    HomePageListTypeFollow,
    //推荐
    HomePageListTypeNew,
    //在线
    HomePageListTypeOnline,
};


@protocol OnlineUserLogic <NSObject>
@optional
/**
 数据加载完成
 */
-(void)requestDataCompleted;
@end
@interface OnlineUserLogic : NSObject

@property (nonatomic,strong) NSMutableArray * dataArray;//数据源
@property (nonatomic,assign) NSInteger  page;//页码
@property(nonatomic,weak)id<OnlineUserLogic> delegagte;
@property(nonatomic, assign) HomePageListType type;
/**
 拉取数据
 */
-(void)loadData;

@end
